
'use strict';
let content = document.getElementById('menu-system');
let titlelist = document.getElementById('min_title_list');

let str = '', childs, list = [];
navs.forEach((v)=>{
	childs = '';
	if (v.child.length) {
		v.child.forEach((c)=>{
			childs += '<li><a _href="'+c.url+'" data-title="'+c.title+'" href="javascript:void(0)">'+c.title+'</a>';
		})
	};
	str = '<dl><dt><i class="Hui-iconfont">'+v.icon+'</i> '+v.title+'<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt><dd><ul>'+childs+'</ul></dd></dl>';
	list.push(str);
})
let html = list.join('');

content.innerHTML = html;